package com.cangshukj.junong.domain;

import com.cangshukj.common.annotation.Excel;
import com.cangshukj.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.ArrayList;
import java.util.List;

/**
 * 销告服务服务信息对象 sales_service
 * 
 * @author wangjie
 * @date 2025-04-01
 */
@ApiModel("销告服务服务信息")
public class SalesService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 销告服务信息ID */
    @ApiModelProperty("销告服务信息ID")
    private String id;

    /** 服务分类ID */
    @ApiModelProperty("服务分类ID")
    @Excel(name = "服务分类ID")
    private String typeId;

    @ApiModelProperty("服务分类名称")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String typeName;

    /** 服务名称 */
    @ApiModelProperty("服务名称")
    @Excel(name = "服务名称")
    private String title;

    /** 服务内容 */
    @ApiModelProperty("服务内容")
    @Excel(name = "服务内容")
    private String contents;

    /** 是否展示：0隐藏、1展示 */
    @ApiModelProperty("是否展示：0隐藏、1展示")
    @Excel(name = "是否展示：0隐藏、1展示")
    private Integer isshow;

    private String pid;

    @ApiModelProperty("销售服务多图片")
    private List<LandPics> sales = new ArrayList<>();

    public List<LandPics> getSales() {
        return sales;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public void setSales(List<LandPics> sales) {
        this.sales = sales;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContents(String contents) 
    {
        this.contents = contents;
    }

    public String getContents() 
    {
        return contents;
    }
    public void setIsshow(Integer isshow) 
    {
        this.isshow = isshow;
    }

    public Integer getIsshow() 
    {
        return isshow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeId", getTypeId())
            .append("title", getTitle())
            .append("contents", getContents())
            .append("isshow", getIsshow())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
